package com.ynny.librarysystemmanager.mapper;

import com.ynny.librarysystemmanager.entity.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAll(User user);


    // 根据Id查询

    User selectOne(Integer userId);

    //添加
    int insert(User user);

    //修改
    int update(User user);

    //软删除
    int delete(Integer userId , Integer status);

}